<template>
  <view class="add-account">
    <view ><fui-icon :size="size" name="payment"></fui-icon> 您还没有添加支付宝账户~</view>
    <view @click="toAdd" class="add"> <fui-icon :size="25" name="plussign"></fui-icon> 添加收款账户</view>
  </view>
</template>

<script setup lang="ts">
interface IProps {
    aliCode:string | undefined | null
}
const props = withDefaults(defineProps<IProps>(), {})
const size = ref(35)
const toAdd = ()=>{
  uni.navigateTo({
    url:'/subPackages_user/userInfo/userInfo'
  })
}
</script>

<style lang="scss" scoped>
.add-account{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 25rpx;
    background: white;
    padding: 20rpx;
    border-radius: 18rpx;
    .add{
        font-size: 20rpx;
        border: 1rpx solid rgb(144,124,255);
        padding: 5rpx 20rpx;
        border-radius: 20rpx;
        color: rgb(144,124,255);
    }
}
</style>
